dnd: Hide the drag window when we're done
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Mar 2016 20:49:21 +0000 (16:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Mar 2016 15:26:24 +0000 (11:26 -0400)
commit068d3826896590dd7ff6e41bee88f07e1416afc9
tree113bb3fb1638a99599c5116aec630ad1e27f0fa6
parent2407f157c76c6835cd0fdc23fdd09875a63c202e
dnd: Hide the drag window when we're done

We were just relying on the drag context finalize() to destroy
the window. But with garbage-collected bindings, that might
not happen as soon as we like, so explicitly hide the window
when the drag ends successfully.

https://bugzilla.gnome.org/show_bug.cgi?id=763659
gdk/wayland/gdkdnd-wayland.c
gdk/x11/gdkdnd-x11.c